define(['models/user/openerlight'], function (opener) {
    "use strict";

    window.onbeforeunload = function () {
        opener.dispose();
    }
    document.querySelector('.icon-play-circle').onclick = function () {
        opener.start();
    };
    document.querySelector('.icon-stop').onclick = function () {
        opener.stop();
    };

    console.log('track.js');
});